﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Model.ClienteModel>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
 Teste 
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div>
  [ <%:Html.ActionLink("Historico de Servico", "Index","SolicitacaoServico") %> ]<br>
  [ <%:Html.ActionLink("Editar Perfil", "Edit") %> ] <br >
  <%MembershipUser usuario = Membership.GetUser(); %>
  <% if (!Roles.IsUserInRole(usuario.UserName, "Prestador"))%>
  <%{ %>
      [ <%:Html.ActionLink("Prestar Serviço? ", "Create", "Prestador")%> ]<br>
  <%} %>
  [ <%:Html.ActionLink("Deletar Conta", "Delete") %> ]<br>
</div>
</asp:Content>
